#!/bin/sh

if [ -z "$ORACLE_HOME" ]; then
	more << __EOF__
		---------------------------------------
You have not properly set up \$ORACLE_HOME.  You must set the ORACLE_HOME
environment variable to include the proper Oracle libraries and header
files.
		---------------------------------------

__EOF__
	exit 1
fi

more <<__EOF__
		---------------------------------------
There were errors building the dco2 module.  This could be because of a
coding error in the dco2 module, or because your Oracle environment is
not set up properly.  Please double check that your Oracle environment is
properly established, and that the proper header files exist (e.g.
\$ORACLE_HOME/rdbms/demo/*.h).

If you still have problems, check for updates to DCOracle2 on

	http://www.zope.org

or check out the mailing list archives.  You may also try inquiring on
the mailing list "zope@zope.org".

Please note that the support address "support@digicool.com" is for
Digital Creation's paid support customers only.  Information about obtaining
paid support is available at

	http://www.digicool.com/Solutions/Support/
		---------------------------------------


__EOF__

exit 1
